/**
 * Alibaba.com.cn Inc.
 * Copyright (c) 2004-2021 All Rights Reserved.
 */
package com.starlink.common.strategy;

import com.starlink.model.request.mall.WechatPay;
import com.starlink.model.request.mall.WechatRefund;

/**
 * @author zhanghong
 * @version IPay.java, v 0.1 2024/4/11 22:59 下午 IPay Exp $$
 */
public interface IPayNotify {

    /**
     * 是否支持
     * @param orderType
     * @return
     */
    boolean supports(Integer orderType);

    /**
     * 业务处理
     * @param wechatPay
     */
    void handle(WechatPay wechatPay);

    /**
     * 退款业务处理
     * @param wechatPay
     */
    void refundHandle(WechatRefund wechatPay);
}
